From e123853b8b8cd23c8e21ff54470be4106abdb7e8 Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 23 Feb 2020 15:00:37 -0800 Subject: [PATCH] build: Install Valgrind suppressions files This is so that other programs linking to GTK can use GTK's suppressions files when performing their own Valgrind analysis. Closes: #138 --- meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meson.build b/meson.build index 22804b5196..2ba1516d7e 100644 --- a/meson.build +++ b/meson.build @@ -794,6 +794,13 @@ meson.add_install_script('build-aux/meson/post-install.py', gtk_libdir, gtk_datadir) +if host_machine.system() != 'windows' + # Install Valgrind suppression files (except on Windows, + # as Valgrind is currently not supported on Windows) + install_data('gtk.supp', 'gtk64.supp', + install_dir : join_paths(gtk_datadir, 'gtk-4.0', 'valgrind')) +endif + summary = [ '', '------', -- 2.30.2